
<!DOCTYPE html>
<html lang="en" >
    <head>
        <meta charset="utf-8" />
        <meta name="author" content="Script Tutorials" />
        <title>Gravity simulate, Golang parallel computing, Websocket communicating, WebGL drawing 3D display</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
        <!--
        <script src="/js/jquery-1.9.1.min.js"></script>
        -->
        <script src="http://libs.baidu.com/jquery/1.9.1/jquery.min.js"></script>
        <link href="css/main.css" rel="stylesheet" type="text/css" />
        <meta name="keywords" content="go,并行计算,万有引力,webgl,websocket,threejs"/>
        <meta name="description" content="Go并行计算模拟万有引力,使用Websocket与前端通信，使用ThreeJS实现WebGL下的3d展示。"/>
    </head>
    <body>
        <script src="js/three.min.js"></script>
        <script src="js/THREEx.WindowResize.js"></script>
        <script src="js/OrbitControls.js"></script>
        <script src="js/stats.min.js"></script>
        <script src="js/websocket.js"></script>
        <script src="js/calcunit.js"></script>
        <script src="js/script.js"></script>



        <div style="position: absolute; top: 10px; left: 20px;">
        websocket server:<input name="ws-addr" id="ws-addr" value=""/><button id="reConnect">yes</button><br/>
        &nbsp;&nbsp;send content:<input name="" id="send-val" value="cmd=orbs&k=thelist1"/><button id="btnSend">yes</button><br/>
        <button id="btnEnableCalc">help calc</button><br/>
        <!--<button id="btnHelp">help calc</button><br/>-->
        <div id="ws-msg">
        websocket not already.
        </div>  
        </div>  
        <div style="position: absolute; top: 10px; right: 20px;">
            Zoom: <button id="zoom_down">&nbsp;-&nbsp;</button><input id="zoom" value="1.0" readonly/><button id="zoom_up">&nbsp;+&nbsp;</button><br/>
            <br/>
            star me: <a href="https://github.com/uxff/gravity_sim_go" target="_blank">github.com/uxff/gravity_sim_go</a><br/>
            dark style: <a href="/threejsnew/webgl_buffergeometry_points.html" target="_blank">link dark style</a><br/>
        </div>

    </body>
</html>
